package com.tang.constant;

/**
 * 共享的常量
 */
public class Cons {

    /*********************************** 消息队列常量开始 **************************/
    public final static String TOPIC_EXCHANGE_NAME = "amq.topic";
    //    public final static String DIRECT_EXCHANGE_NAME = "amq.direct";
    public final static String TOPIC_QUEUE_NAME_BASIC = "topic.queue.basic.*"; // 基本消息（字符串形式）
    public final static String TOPIC_QUEUE_NAME_OBJECT = "topic.queue.object.*"; // 实体对象类型的消息
    //    public static final String DIRECT_QUEUE_NAME = "direct.queue";
    public final static String TOPIC_ROUTING_KEY_BASIC = "topic.queue.basic.#";
    public final static String TOPIC_ROUTING_KEY_OBJECT = "topic.queue.object.#";
//    public static final String DIRECT_ROUTING_KEY = "direct.queue";
    public final static String BASIC_ROUTING_KEY = "topic.queue.basic.1";
    public final static String OBJECT_ROUTING_KEY = "topic.queue.object.order";
    /*********************************** 消息队列常量结束 **************************/
}
